package cn.tedu.travelsystem.itinerary.pojo.dto;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ItineraryRequestDTO {
    @NotNull(message = "用户ID不能为空")
    private Integer userId;

    @NotBlank(message = "兴趣标签不能为空")
    private String interestTags;

    @NotBlank(message = "预算范围不能为空")
    private String budgetRange;

    @NotNull(message = "行程天数不能为空")
    @Min(value = 1, message = "行程天数至少1天")
    private Integer durationDays;

    private String timePreference;
}